package cn.yunhe.service;

import cn.yunhe.dao.InstockRecordDao;
import cn.yunhe.entity.InStockRecord;
import cn.yunhe.util.SqlSessionFactoryUtil;
import org.apache.ibatis.session.SqlSession;

import java.util.List;

/**
 * 邓永凯
 * 入库记录
 */
public class InStockRecordService {
    SqlSession sqlSession= SqlSessionFactoryUtil.getSqlSession();
    InstockRecordDao instockRecordDao=sqlSession.getMapper(InstockRecordDao.class);
    public List<InStockRecord> getAllInStockRecord(){
        return instockRecordDao.getAllInStockRecord();
    }
}
